package com.example.deng.test;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

/**
 * Created by deng on 2017/4/6.
 */

public class error extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_error);
        Button mbotton=(Button)findViewById(R.id.button9);
        mbotton.setOnClickListener(new Button.OnClickListener() {
            @Override

            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setClass(error.this, MainActivity.class);
                startActivity(intent);
            }
        });

    }
}
